From aead0291c8ba2acfe9b94bdb53c65c89da070dad Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 7 Apr 2017 16:37:34 +0700 Subject: [PATCH] Indicate that --lib is default for new, init. --- src/bin/init.rs | 2 +- src/bin/new.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/init.rs b/src/bin/init.rs index 336ebe387..97dca61c9 100644 --- a/src/bin/init.rs +++ b/src/bin/init.rs @@ -30,7 +30,7 @@ Options: control system (git or hg) or do not initialize any version control at all (none) overriding a global configuration. --bin Use a binary (application) template - --lib Use a library template + --lib Use a library template [default] --name NAME Set the resulting package name -v, --verbose ... Use verbose output (-vv very verbose/build.rs output) -q, --quiet No output printed to stdout diff --git a/src/bin/new.rs b/src/bin/new.rs index 834134ba0..aeee334a9 100644 --- a/src/bin/new.rs +++ b/src/bin/new.rs @@ -30,7 +30,7 @@ Options: control system (git, hg, or pijul) or do not initialize any version control at all (none) overriding a global configuration. --bin Use a binary (application) template - --lib Use a library template + --lib Use a library template [default] --name NAME Set the resulting package name, defaults to the value of -v, --verbose ... Use verbose output (-vv very verbose/build.rs output) -q, --quiet No output printed to stdout -- 2.30.2